Skip to content

Conversation

karenzone
Copy link
Contributor

@karenzone karenzone commented Oct 17, 2025

Related:
#2760

This PR:

  • Adds OOB alert rules for Elastic Agent
  • Adds alert templates to list of assets included with integrations
  • Restructures content for better flow and to replace several notes and admonitions with heads for better scanability and SEO performance

To Do:

  • Confirm license requirements in content and subscription page
  • List alerts
  • Add example(s) of alerts as integration assets

@karenzone karenzone changed the title Alert rule template as asset type Add OOB alerts and alert rule template as asset type Oct 20, 2025
Copy link

github-actions bot commented Oct 20, 2025

🔍 Preview links for changed docs

@karenzone karenzone marked this pull request as ready for review October 20, 2025 00:34
@karenzone karenzone requested a review from a team as a code owner October 20, 2025 00:34
@karenzone
Copy link
Contributor Author

cc:/ @nimarezainia @MichelLosier @nchaulet @kpollich Here's a draft. Please let me know what you think, and we can iterate.

@nimarezainia
Copy link

Thank you @karenzone
For the Elastic Agent ootb rules we need to provide more detail IMO. Examples of some of these alerts (as documented I the issue) and what they provide the user. @MichelLosier has explained them here for the alerts that will be in the package.

I think we need to document the alert name, condition it is looking for and a blurb description for it (which could just be copy+past from the issue).

Regarding the alerts as integration assets: if we have an example to show that would be great. I know that this content is very much dependent on what the package owner adds to their package.

@vishaangelova vishaangelova requested a review from a team October 20, 2025 11:22

## {{agent}} out-of-the-box alert rules [ea-alert-rules]

When you install or upgrade {{agent}}, a new alert rule is created automatically. You can configure and customize out-of-the-box alerts to get them up and running quickly.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a new alert rule is created automatically

We'll be installing several alerting rules

Copy link
Contributor

@vishaangelova vishaangelova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @karenzone! LGMT 🚀 Just left some small suggestions for your consideration.

:::{tip}
Once you've started using integrations to ingest data, you can customize how that data is managed over time. Refer to [Index lifecycle management](/reference/fleet/data-streams.md#data-streams-ilm) to learn more.
:::
After you've started using integrations to ingest data, you can customize how the data is managed over time. Refer to [Index lifecycle management](/reference/fleet/data-streams.md#data-streams-ilm) to learn more.
Copy link
Contributor

@vishaangelova vishaangelova Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
After you've started using integrations to ingest data, you can customize how the data is managed over time. Refer to [Index lifecycle management](/reference/fleet/data-streams.md#data-streams-ilm) to learn more.
After you've started using integrations to ingest data, you can customize how the data is managed over time. Refer to [{{ilm-cap}}](/reference/fleet/data-streams.md#data-streams-ilm) to learn more.

Comment on lines +2 to +3
mapped_pages:
- https://www.elastic.co/guide/en/fleet/current/data-streams.html
Copy link
Contributor

@vishaangelova vishaangelova Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mapped_pages:
- https://www.elastic.co/guide/en/fleet/current/data-streams.html

::::{note}
The built-in alerts feature for {{agent}} is available only for some subscription levels. The license (or a trial license) must be in place before you install or upgrade {{agent}} before this feature is available.

Refer [Elastic subscriptions](https://www.elastic.co/subscriptions) for more information.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Refer [Elastic subscriptions](https://www.elastic.co/subscriptions) for more information.
Refer to [Elastic subscriptions](https://www.elastic.co/subscriptions) for more information.

::::

In {{kib}}, you can enable out-of-the-box rules pre-configured with reasonable defaults to provide immediate value for managing agents.
You can use [ES|QL](/explore-analyze/discover/try-esql.md) to author conditions for each rule.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can use [ES|QL](/explore-analyze/discover/try-esql.md) to author conditions for each rule.
You can use [{{esql}}](/explore-analyze/discover/try-esql.md) to author conditions for each rule.

When you install or upgrade {{agent}}, new alert rules are created automatically. You can configure and customize out-of-the-box alerts to get them up and running quickly.

::::{note}
The built-in alerts feature for {{agent}} is available only for some subscription levels. The license (or a trial license) must be in place before you install or upgrade {{agent}} before this feature is available.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove one of the “before”-s, maybe:

Suggested change
The built-in alerts feature for {{agent}} is available only for some subscription levels. The license (or a trial license) must be in place before you install or upgrade {{agent}} before this feature is available.
The built-in alerts feature for {{agent}} is available only for some subscription levels. To use this feature, the license (or a trial license) must be in place before you install or upgrade {{agent}}.

You can use [ES|QL](/explore-analyze/discover/try-esql.md) to author conditions for each rule.

Connectors are not added to rules automatically, but you can attach a connector to route alerts to your platform of choice -- Slack or email, for example.
In addition, you can add filters for policies, tags, or hostnames to scope alerts to specific sets of agents
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In addition, you can add filters for policies, tags, or hostnames to scope alerts to specific sets of agents
In addition, you can add filters for policies, tags, or hostnames to scope alerts to specific sets of agents.

Connectors are not added to rules automatically, but you can attach a connector to route alerts to your platform of choice -- Slack or email, for example.
In addition, you can add filters for policies, tags, or hostnames to scope alerts to specific sets of agents

You can find these rules in **Stack Management** > **Alerts and Insights** > **Rules**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the style guide, we need to use here, but I’ve seen others use >, and I’d be happy with >, too. Maybe we should discuss this with the team, and if we can agree > is also a valid option (or is the preferred option), we could update the style guide.

You can find these rules in **Stack Management** > **Alerts and Insights** > **Rules**.


## Alert templates assets for integrations [alert-templates]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe?

Suggested change
## Alert templates assets for integrations [alert-templates]
## Alert template assets for integrations [alert-templates]


## Alert templates assets for integrations [alert-templates]

Some integration packages include alerting rule template assets that provide pre-made definitions of alerting rules. You can use the templates to create your own custom alerting rules that you can enable and fine tune.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Some integration packages include alerting rule template assets that provide pre-made definitions of alerting rules. You can use the templates to create your own custom alerting rules that you can enable and fine tune.
Some integration packages include alerting rule template assets that provide pre-made definitions of alerting rules. You can use the templates to create your own custom alerting rules that you can enable and fine-tune.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants